-
Notifications
You must be signed in to change notification settings - Fork 743
Align handling of flaky arm unittests #7669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Removes uses of torch_manual_seed which previously fixed the random state. - Adds pytest plugin pytest-rerunfailures to mark flaky tests. - Refactors flaky tests to use data generators in favor of pregenerated data, which ensures that data is randomized between reruns. - Updates layer_norm testcase to use same qtol value for TOSA/EthosU targets. Note that fixing the randomness may lead to that we will see more flakyness in CI, this will have to be adressed with the flaky mark on a case by case basis over time. Change-Id: I15aa8b517bec2a748b93b0d74e09e2f48df40926
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7669
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Cancelled Job, 1 PendingAs of commit 738a696 with merge base 4796da7 ( NEW FAILURE - The following job has failed:
CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Looking into unittest-arm/linux-job errors, others are unrelated: |
|
I'll have to wait with this until CI is fixed, do not merge. |
|
Macos and phi fails seems unrealted. |
|
@digantdesai This touch a file outside arm folder is it OK to merge? |
|
Now only unrelated CI errors left! |
|
@digantdesai What do you think, is it ok to add the new pytest-rerunfailures dependency? |
Note that fixing the randomness may lead to that we will see more flakyness in CI, this will have to be adressed with the flaky mark on a case by case basis over time.